<template>
  <p>鼠标的横坐标：{{ x }} px</p>
  <p>鼠标的纵坐标：{{ y }} px</p>
</template>

<script setup>
import { useMouse } from '@/hooks/mouse.js'
const { x, y } = useMouse()
</script>

<style scoped></style>
